package com.zlc.common.core.role.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zlc.common.common.entity.BaseEntity;
import com.zlc.common.core.role.model.vo.MayanPlatDataRoleConfigVo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author  zl
* @date 2023-05-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "mayan_plat_role")
public class MayanPlatRole extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 0L;
	/**
	 * 角色code
	 */@TableField(value="role_code_")
	private String roleCode;

	/**
	 * 角色名称
	 */@TableField(value="role_name_")
	private String roleName;

	/**
	 * 角色类别ID
	 */@TableField(value="class_id_")
	private String classId;

	/**
	 * 角色别名
	 */@TableField(value="role_nick_name_")
	private String roleNickName;

	/**
	 * 备注
	 */@TableField(value="remark_")
	private String remark;


	/**
	 * 数据权限类型
	 */
	@TableField(exist = false)
	private String dataRoleType;

	/**
	 * 数据权限
	 */
	@TableField(exist = false)
	private MayanPlatDataRoleConfigVo dataRole;

}
